import { request }  from '@/common/utils';

//查询游戏列表
export const querygamelist = gamedate => request.post(`/common-user/game/list`,gamedate)

//查询用户信息
  /**
   * @param {Object} userid {"openId": "string"}
   */
export const queryuserinfo = userid => request.post(`/common-user/info`,userid)

//提交用户信息 登录
  /**
   * @param {Object} userinfo {
  "avatar": "string",
  "nickname": "string",
  "openId": "string"
}
   */
export const submitregister = userinfo => request.post(`/common-user/info-submit`,userinfo)

